import maya.cmds as cmds

cmds.lockNode('initialShadingGroup', l=0, lockUnpublished=0)
cmds.lockNode('defaultTextureList1', l=0, lockUnpublished=0)
cmds.lockNode('initialParticleSE', l=0, lockUnpublished=0)
